home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
assemblr
/
library
/
screen
/
uniform
/
ufas014.asm
< prev
next >
Wrap
Assembly Source File
|
1993-07-28
|
1KB
|
47 lines
;MASM/ MS Quick ASM/ TASM
; MASM, MS Quick ASM ,TASM
; ufas14.asm - generic example
;
DOSSEG
EXTRN UNIF:NEAR ; extern UNIF
EXTRN MOUSEON:NEAR ; extern MOUSEON
EXTRN MOUSEOFF:NEAR ; extern MOUSEOFF
.MODEL SMALL
.CODE
jmp start
INCLUDE UFAS01.MAC ; standard include file
INCLUDE testfmt.MAC ; include file for testfmt
format DB 'testfmt ' ; format name
start: push cs
pop ds
push cs
pop es
call MOUSEON ; initialize mouse
mov word ptr FKZ,2 ; function identifier
mov word ptr SM,0 ; cursor position
mov word ptr RETC,112 ; shadow attribute
lea bx,FKZ ; push parameters
push bx ; "
lea bx,format ; "
push bx ; "
lea bx,fld0 ; "
push bx ; "
lea bx,RETC ; "
push bx ; "
lea bx,SM ; "
push bx ; "
lea bx,Atestfmt ; "
push bx ; "
call UNIF ; call UNIF
add sp,12 ; stack restore
call MOUSEOFF ; hide mouse
mov ah,4ch ; finish program
mov al,0
int 21h
END